﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace CinemaProject
{
    public class Room
    {
        private int showNr;
        private Movie movie;
        private ArrayList shows;


        public Room()
        {
            showNr = 0;
            movie = null;
            ArrayList shows = new ArrayList();
        }
        public Room(int showNr, Movie movie, ArrayList shows)
        {
            this.showNr = showNr;
            this.movie = movie;
            shows = new ArrayList();
        }


        public int _id
        {
            get { return id; }
            set { id = value; }
        }
        public string _name
        {
            get { return name; }
            set { name = value; }
        }
        public ArrayList _shows
        {
            get { return shows; }
            set { shows = value; }
        }

        public void AddShow(Room show)
        {
            shows.Add(show);
        }
        
    }
}
